/*
 *  Copyright (c) 2013 The CCP project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a Beijing Speedtong Information Technology Co.,Ltd license
 *  that can be found in the LICENSE file in the root of the web site.
 *
 *   http://www.yuntongxun.com
 *
 *  An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */
package com.monkeygroup.mygoplus.ecchat.ui.chatting.view;

import android.util.Log;
import android.view.View;
import android.widget.PopupWindow;

/**
 * @author Jorstin Chan@容联•云通讯
 * @date 2014-12-10
 * @version 4.0
 */
public class RecordPopupWindow extends PopupWindow {

	public RecordPopupWindow(View contentView) {
		super(contentView);
	}

	public RecordPopupWindow(View contentView, int width, int height) {
		super(contentView, width, height, false);
	}

	public RecordPopupWindow(View contentView, int width, int height,
			boolean focusable) {
		super(contentView, width, height, focusable);
	}
	
	public void dismiss() {

		try {
			super.dismiss();
		} catch (Exception e) {
			Log.d("MicroMsg.MMPopupWindow", "dismiss exception, e = " + e.getMessage());
			e.printStackTrace();
		}
    }
}
